package orgamenu.ihm.table;



import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.MouseEvent;

import javax.swing.table.TableCellRenderer;

public class TableMouseListener {
JCTable table;

//	public void mousePressed(MouseEvent event) {
//		Point p = event.getPoint();
//		int row = table.rowAtPoint(p);
//		int column = table.columnAtPoint(p);
//		TableCellRenderer tableCellRenderer = table
//				.getCellRenderer(row, column);
//		Rectangle rect = table.getCellRect(row, column, true);
//		int x = (int) (event.getX() - rect.getX());
//		int y = (int) (event.getY() - rect.getY());
//		
//		Object value = tableModel.getValueAt(row, column);
//		tableCellRenderer.selectActivityAt(value, x, y, row, column);
//		table.repaint();
//	}
}